
const route = {
    path: "/dashboard",
    component: () => import("@p/dashboard/Layout.vue"),
    meta: {
        root: true
    },
    children: [
        {
            path: "/dashboard",
            redirect: "/dashboard/home",
        },
        {
            path: "/dashboard/home",
            component: () => import("@p/main/home/DashHome.vue"),
            meta: {
                name: "home",
                show: true,
                icon: "home"
            }
        },
        {
            path: "/dashboard/live",
            component: () => import("@p/main/live/Live.vue"),
            meta: {
                name: "live",
                show: true,
                icon: "live"
            }
        },
        {
            path: "/dashboard/ide",
            component: () => import("@p/main/ide/Ide.vue"),
            meta: {
                name: "ide",
                show: true,
                icon: "ide"
            }
        },
        {
            path: "/dashboard/picture",
            component: () => import("@p/main/picture/Picture.vue"),
            meta: {
                name: "picture",
                show: true,
                icon: "picture"
            }
        },
        {
            path: "/dashboard/component",
            component: () => import("@p/main/component/Component.vue"),
            meta: {
                name: "component",
                show: false,
                icon: "component"
            },
            children: [
                {
                    path: "/dashboard/componentbezier",
                    component: () => import("@p/main/component/bezier/Bezier.vue"),
                    meta: {
                        name: "bezier",
                        show: true,
                        icon: ""
                    }
                },
                {
                    path: "/dashboard/component/markdown",
                    component: () => import("@p/main/component/markdown/Markdown.vue"),
                    meta: {
                        name: "markdown",
                        show: true,
                        icon: ""
                    }
                },
                {
                    path: "/dashboard/component/json",
                    component: () => import("@p/main/component/json/Json.vue"),
                    meta: {
                        name: "json",
                        show: true,
                        icon: ""
                    }
                },
            ]
        },
        {
            path: "/dashboard/file",
            component: () => import("@p/main/file/file.vue"),
            meta: {
                name: "file",
                show: true,
                icon: "file"
            }
        },

    ]
}



export default  route